package com.nn.service;

import com.nn.mapper.RoleMapper;
import com.nn.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;


    @Override
    public List<Role> getRoleList() {

        return roleMapper.selectList(null);
    }

}
